# coding=utf-8
d = {'Michael': 95, 'Bob': 75, 'Tracy': 85}
print(d['Bob'])

# 如果不在返回 None
print(d.get('Thomas'))
print(d.get('boo',-1)) #可自定义返回值

